Skip to content

Conversation

@nc-shahidazim
Copy link
Contributor

@nc-shahidazim nc-shahidazim commented Feb 10, 2026

Description

This update introduces alerting for expiring SSL certificates on Application Gateway by leveraging the existing Application Insights availability test framework. The enhancement extends the current test capability to validate certificate expiry and provides flexible options for custom headers and request body.

Context

Application Gateway does not provide native certificate‑expiry alerting through standard monitoring signals. To address this limitation, the existing availability test mechanism is extended to validate SSL certificate expiry on each probe execution. This ensures consistent monitoring without introducing new resources or pipelines, while improving detection of upcoming certificate failures.

What’s included

  • Implemented SSL certificate expiry checks using Application Insights availability tests.
  • Added support for custom headers, enabling scenarios where routing, authentication tokens, or custom metadata are required.
  • Added support for request body, allowing validation of endpoints that require POST requests or structured payloads.
  • Updated internal logic to evaluate certificate expiry and generate alerts based on predefined thresholds.
  • Aligned alerting behaviour with existing monitoring patterns for consistency.

Evidence:

The following alert was created successfully through pipeline, and running:

Test implementation:

image

Test execution:

image

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@nc-shahidazim nc-shahidazim force-pushed the feat/DTOSS-12035-alert-cert-expiry-app-gateway branch 3 times, most recently from 4ef857a to 7b892b9 Compare February 11, 2026 16:13
@nc-shahidazim nc-shahidazim force-pushed the feat/DTOSS-12035-alert-cert-expiry-app-gateway branch from 7b892b9 to a5067ff Compare February 11, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant